package com.umgsai.thread.thread50;

public class Main {
	public static void main(String[] args) {
		Service service = new Service();
		ThreadA[] a = new ThreadA[10];
		ThreadB[] b = new ThreadB[10];
		for (int i = 0; i < 10; i++) {
			a[i] = new ThreadA(service);
			a[i].start();
			b[i] = new ThreadB(service);
			b[i].start();
		}
	}
}
